<HTML><HEAD><TITLE>write_term(?Term, ++Options)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Term I/O</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>write_term(?Term, ++Options)</H1>
The term Term is written to the current output in a format specified by Options
<DL>
<DT><EM>Term</EM></DT>
<DD>An arbitrary term
</DD>
<DT><EM>Options</EM></DT>
<DD>List of option terms
</DD>
</DL>
<H2>Description</H2>
<P>
    This is a generalisation of the predicates write/1, writeq/1, print/1,
    display/1, write_canonical/1. It is used to write an arbitrary term
    Term onto the current output stream according to the given options.
</P><P>
    <CODE>write_term(Term, Options)</CODE> is equivalent to
    <CODE>write_term(output, Term, Options)</CODE>.
    For details see write_term/3.
</P>
    
<H3>Modes and Determinism</H3><UL>
<LI>write_term(?, ++) is det
</UL>
<H3>Modules</H3>
This predicate is sensitive to its module context (tool predicate, see @/2).
<H2>Examples</H2>
<PRE>
	Equivalent to write_term(output, Term, Options).
	See write_term/3 for examples.
</PRE>
<H2>See Also</H2>
<A HREF="../../kernel/ioterm/write_term-3.html">write_term / 3</A>, <A HREF="../../kernel/ioterm/display-1.html">display / 1</A>, <A HREF="../../kernel/ioterm/print-1.html">print / 1</A>, <A HREF="../../kernel/ioterm/printf-2.html">printf / 2</A>, <A HREF="../../kernel/ioterm/write-1.html">write / 1</A>, <A HREF="../../kernel/ioterm/writeq-1.html">writeq / 1</A>, <A HREF="../../kernel/ioterm/write_canonical-1.html">write_canonical / 1</A>
</BODY></HTML>
